home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 1995 #2 / Amiga Plus CD - 1995 - No. 2.iso / internet / faq / englisch / sgi-apps < prev    next >
Encoding:
Text File  |  1995-04-11  |  41.4 KB  |  1,039 lines

  1. Archive-name: sgi/faq/apps
  2. Last-modified: Sun Feb 26 15:42:30 CST 1995
  3.  
  4.     SGI apps Frequently Asked Questions (FAQ)
  5.  
  6. This is one of the Silicon Graphics FAQ series, which consists of:
  7.  
  8.     SGI admin FAQ - IRIX system administration
  9.     SGI apps FAQ - Applications and miscellaneous programming
  10.     SGI audio FAQ - Audio applications and programming
  11.     SGI graphics FAQ - Graphics and user environment customization
  12.     SGI hardware FAQ - Hardware
  13.     SGI impressario FAQ - IRIS Impressario
  14.     SGI inventor FAQ - IRIS Inventor
  15.     SGI misc FAQ - Introduction & miscellaneous information
  16.     SGI movie FAQ - Movies
  17.     SGI performer FAQ - IRIS Performer
  18.     SGI pointer FAQ - Pointer to the other FAQs
  19.  
  20. Read the misc FAQ for information about the FAQs themselves.  Each FAQ
  21. is posted to comp.sys.sgi.misc and to the news.answers and comp.answers
  22. newsgroups (whose purpose is to store FAQs) twice per month.  If you
  23. can't find one of the FAQs with your news program, you can get it by
  24. anonymous FTP from one of these sites:
  25.  
  26.     viz.tamu.edu:/pub/sgi/faq/
  27.     rtfm.mit.edu:/pub/usenet/news.answers/sgi/faq/
  28.     ftp.uu.net:/usenet/news.answers/sgi/faq/
  29.  
  30. Note that rtfm.mit.edu is home to many other FAQs and informational
  31. documents, and is a good place to look if you can't find an answer here.
  32. If you can't use FTP, send mail to mail-server@rtfm.mit.edu with the
  33. word 'help' on a line by itself in the text, and it will send you a
  34. document describing how to get files from rtfm.mit.edu by mail. Send the
  35. command 'send usenet/news.answers/sgi/faq/misc' to get the SGI misc FAQ,
  36. and similarly for the other FAQs. Finally, the FAQs are on the World
  37. Wide Web at
  38.  
  39.     http://www.cis.ohio-state.edu/hypertext/faq/usenet/sgi/top.html
  40.  
  41. The SGI FAQs are freely distributable and we encourage wide circulation.
  42. You MUST keep the FAQs intact, including headers and this notice.  The
  43. contents are accurate as far as we know, but the usual disclaimers
  44. apply. (In particular, copies of the SGI FAQs published on paper or
  45. CD-ROM are certain to be out of date!) Please send additions and changes
  46. to sgi-faq@viz.tamu.edu.
  47.  
  48. Topics covered in this FAQ:
  49. ---------------------------
  50.    -1- Where can I find software for SGIs?
  51.    -2- Where can I find software already compiled for SGIs?
  52.    -3- What about Explorer?
  53. -  -4- What about FlexFAX?
  54.    -5- WHAT TO USE?
  55.    -6- What's a good graphical text editor for SGIs?
  56.    -7- What's a good mail program for SGIs?
  57.    -8- How can I convert ASCII to PostScript?
  58.    -9- How can I preview PostScript?
  59.   -10- How can I edit PostScript files?
  60.   -11- How can I format unformatted manpages?
  61.   -12- IRIX's version of top(1) doesn't let me renice or kill processes
  62.        interactively. What to do?
  63.   -13- BUGS AND PROBLEMS
  64.   -14- Why isn't Iris Insight working properly?
  65.   -15- Why don't the arrow keys work in vi?
  66.   -16- How can I tell application X about my screen size?
  67.   -17- Why does ksh lock up if one's home directory is NFS-mounted?
  68.   -18- Why can't I 'talk' to Suns?
  69.   -19- How can I change what the keys on my keyboard do?
  70.   -20- Why is 'jot' so slow on a remote display in IRIX 5.2?
  71.   -21- Why does 'man -k' repeat itself in IRIX 5.2?
  72.   -22- COMPILERS AND PROGRAMMING
  73.   -23- What are the correct versions of the Irix Development Option
  74.        (IDO) and Fortran for current versions of IRIX?
  75.   -24- Why doesn't my non-ANSI C program compile under IRIX 4.0.x?
  76.   -25- Where's CHILD_MAX in IRIX 4.0.5?
  77. - -26- Where did the system header files go after I installed IDO 4.1.1?
  78.   -27- Why doesn't application X understand NIS (Yellow Pages) in IRIX
  79.        4.0.x?
  80.   -28- Where's edge in IRIX 5.x? What can I use instead?
  81.   -29- How can I generate IRIX 4.0.x-compatible executables under IRIX
  82.        5.x?
  83.   -30- How can I convert IRIX 4.0.x executables to IRIX 5.x?
  84.   -31- Why are some non-shared libraries missing in IRIX 5.x?
  85.   -32- Where are the audio, CD and DAT libraries in IRIX 5.x?
  86.   -33- Why can't my networking application resolve hostnames in IRIX
  87.        5.x?
  88.   -34- Can I use dynamic shared objects in IRIX?
  89.   -35- How can I tell which shared objects my executable uses?
  90.   -36- Why does malloc() never return NULL?
  91.   -37- What prototypes are missing in IRIX 4.0.x and 5.x?
  92.   -38- Where are the regcmp and regex functions?
  93.   -39- Why is 'make' complaining about syntax errors that I can't find?
  94. + -40- Why does stripping executables corrupt them in IRIX 6.x?
  95.   -41- PORTING
  96.   -42- How can I make the 'install' program work like BSD 'install'?
  97.   -43- Where's 'ranlib'?
  98.   -44- Why does GNU Emacs not compile, or compile but not run?
  99.   -45- What do I need to do to build gcc/g++?
  100.   -46- Is there an SGI-compatible version of XView?
  101.   -47- How can I compile tcsh 6.05 on IRIX 5.2?
  102.  
  103. ----------------------------------------------------------------------
  104.  
  105. Subject:    -1- Where can I find software for SGIs?
  106. Date: 12 Nov 95 00:00:01 EST
  107.  
  108.   Silicon Graphics can tell you about their own and third-party
  109.   commercial software.  Call SGI Direct for more information (see the
  110.   misc FAQ for phone numbers) or look around on SGI's WWW server,
  111.   Silicon Surf (http://www.sgi.com/ or its mirrors; see the misc FAQ),
  112.   particularly under "Surf Shop" and "Subsidiaries and Partners".
  113.  
  114.   The best general reference for finding sources on the Internet is
  115.   Jonathan Kamens' "Finding Sources" document. It can be FTPed from
  116.   rtfm.mit.edu:/pub/usenet/news.answers/finding-sources. Read it
  117.   carefully before you post a question about finding software ...
  118.   because half of your answers will be "look in Archie" anyway, and
  119.   "Finding Sources" tells you how to do that.
  120.  
  121.   Useful general archive sites include ftp.x.org:/ for X software
  122.   (particularly in the /contrib and /R5contrib directories) and X
  123.   itself (in /pub), prep.ai.mit.edu:/pub/gnu/ for GNU software, and
  124.   ftp.uu.net:/ and wuarchive.wustl.edu:/ for nearly anything, including
  125.   archives of many Usenet sources newsgroups and mirrors of the
  126.   aforementioned GNU and X archives.
  127.  
  128.   The best SGI-specific reference is Bill Henderson's
  129.   <billh@hampton.sgi.com> SGI anonymous FTP list. (See "What are some
  130.   related network documents?" in the misc FAQ.) Good places to look, if
  131.   you just feel like looking, are ftp.sgi.com:/ and sgigate.sgi.com:/,
  132.   where are kept any number of freebies from the folks at SGI, and
  133.   swedishchef.lerc.nasa.gov:/, a site particularly well-stocked with
  134.   SGI-related materials.
  135.  
  136.   Finally, see the next question for places to find precompiled
  137.   software and questions (in this and the other SGI FAQs) which discuss
  138.   particular packages for pointers to those packages.
  139.  
  140. ------------------------------
  141.  
  142. Subject:    -2- Where can I find software already compiled for SGIs?
  143. Date: 08 Feb 95 00:00:01 EST
  144.  
  145.   A very large stash of precompiled software is in
  146.   ftp.uni-stuttgart.de:/sw/. IRIX 5.2 binaries are in the sgi_52
  147.   directory, and documentation and other non-machine-specific files
  148.   are nearby.
  149.  
  150.   David Hinds <dhinds@allegro.stanford.edu> keeps a stock of GNU
  151.   software compiled for IRIX 4.0.x at cb-iris.stanford.edu:/pub/gnu/.
  152.   Presently it includes recent versions of binutils, emacs, gas, gcc,
  153.   glibc, gnuplot, groff, gzip, libg++, make, patch and perl.
  154.  
  155.   Scott Henry <scotth@sgi.com> provides recent versions of GNU Emacs
  156.   and gzip compiled for IRIX 4.0.x and (pay attention here) IRIX 5.x,
  157.   in 'inst' form, in sgigate.sgi.com:/net-services/gnu-emacs.
  158.  
  159.   If none of the above helps, check Bill Henderson's list (see the misc
  160.   FAQ).  Keep in mind that many of these binaries won't be the latest
  161.   version, and it's worth checking the latest version to see if IRIX
  162.   support has improved.  SGI's presence is continuously increasing and
  163.   the trend is definitely toward better IRIX support.
  164.  
  165. ------------------------------
  166.  
  167. Subject:    -3- What about Explorer?
  168. Date: 24 Feb 94 00:00:01 EST
  169.  
  170.   The IRIS Explorer data visualization system has its own newsgroup,
  171.   comp.graphics.explorer. There is an FTP site at
  172.   ftp.epcc.ac.uk:/pub/explorer/ (with a North American mirror at
  173.   swedishchef.lerc.nasa.gov:/explorer/), a WWW page at
  174.   http://www.nag.co.uk:70/1h/Welcome_IEC and an FAQ which you can find
  175.   at any of those sites.
  176.  
  177. ------------------------------
  178.  
  179. Subject: -  -4- What about FlexFAX?
  180. Date: 28 May 94 00:00:01 EST
  181.  
  182.   There is a FlexFAX mailing list listed in the misc FAQ.
  183.  
  184. ------------------------------
  185.  
  186. Subject:    -5- WHAT TO USE?
  187. Date: 10 Dec 93 00:00:01 EST
  188.  
  189.   The next few questions discuss software for various applications.
  190.  
  191. ------------------------------
  192.  
  193. Subject:    -6- What's a good graphical text editor for SGIs?
  194. Date: 18 Sep 94 00:00:01 EST
  195.  
  196.   The most popular graphic text editors on SGIs include:
  197.  
  198.   IRIX 5.x includes jot, which is very nice. It requires GL, i.e. no
  199.   X-terminals, text terminals or non-SGI machines. See below for a bug
  200.   and workaround. zip is the IRIX 4.x incarnation of jot (the jot which
  201.   comes with IRIX 4.x is something else entirely); FTP it from
  202.   ftp.sgi.com:/graphics/zip/.
  203.  
  204.   nedit is a straightforward graphical editor with programmers'
  205.   features.  It needs X-windows but not GL. Get it from
  206.   fnpspb.fnal.gov:/pub/nedit/.  Patches to make it work under IRIX 5.x
  207.   are at viz.tamu.edu:/pub/sgi/software/nedit/nedit-on-irix-5.x.patch.
  208.  
  209.   GNU Emacs, a perennial favorite, isn't just an editor; it's a way of
  210.   life.  It has a X-windows mode and works on X-windows terminals as
  211.   well as SGI consoles and text terminals. Its X-windows support, once
  212.   rather lackluster, has improved in the recently released version 19.
  213.   It may be FTPed from any GNU archive, e.g.
  214.   prep.ai.mit.edu:/pub/gnu/.
  215.  
  216.   Epoch is a derivative of GNU Emacs 18 with better X-windows support.
  217.   It may be found at cs.uiuc.edu:/pub/epoch-files/epoch/. It will soon
  218.   merge with XEmacs.
  219.  
  220.   XEmacs (formerly Lucid Emacs) is a derivative of GNU Emacs 19. It may
  221.   be found in cs.uiuc.edu:/pub/xemacs/, and it has a WWW page at
  222.   http://xemacs.cs.uiuc.edu/. It requires graphics.
  223.  
  224.   Finally, the comp.windows.x FAQ (at
  225.   rtfm.mit.edu:/pub/usenet/comp.windows.x/) lists many more editors
  226.   which run under X-windows, both free and commercial.
  227.  
  228. ------------------------------
  229.  
  230. Subject:    -7- What's a good mail program for SGIs?
  231. Date: 06 Nov 94 00:00:01 EST
  232.  
  233.   Z-Mail is a commercial product written by Z-Code and redistributed by
  234.   SGI. IRIX 5.x includes MediaMail, a subset of Z-Mail. Both are
  235.   graphical, MIME-compatible (MIME, described in RFC1521, is a standard
  236.   for enclosing multimedia material in your mail) and have a text-only
  237.   mode.  viz.tamu.edu:/pub/sgi/software/mail/zmail-vs-mediamail.ps
  238.   describes the differences between Z-Mail and MediaMail.
  239.  
  240.   The free programs Elm and Pine use text-based menus. They are easy to
  241.   use, powerful and can easily be run in a separate window. They can be
  242.   configured to use 'metamail' for MIME support. Elm can be FTPed from
  243.   dsinc.dsi.com:/elm/, Pine from ftp.cac.washington.edu:/pine/ and
  244.   'metamail' from thumper.bellcore.com:/pub/nsb/. Z-Mail/MediaMail
  245.   includes 'metamail', so if you use both Z-Mail/MediaMail and Elm or
  246.   Pine or another free mail program, you can save yourself some trouble
  247.   by configuring the latter to use the former's 'metamail'. Elm has an
  248.   FAQ in rtfm.mit.edu:/pub/usenet/comp.mail.elm/. Packages which make
  249.   Elm work nicely with IRIX 4.0.x's WorkSpace and IRIX 5.2's Indigo
  250.   Magic are at proton.chem.yale.edu:/pub/elm-ws-support.shar and
  251.   proton.chem.yale.edu:/pub/elm-im-support.shar. Elm's
  252.   autoreply/arepdaemon subsystem has a bad security hole, so don't
  253.   install those binaries. (They have been removed from v. 2.4.24 and
  254.   later.) The rest of Elm is fine.
  255.  
  256.   'mh' is a free, command-line oriented Mail Handling system. FTP the
  257.   source code from ftp.ics.uci.edu:/pub/mh/ and patches for IRIX 5.x
  258.   from viz.tamu.edu:/pub/sgi/software/mh/. If you build 'mh' you can
  259.   use 'xmh', a graphical mailer, which is part of Xwindows and thus
  260.   comes with IRIX.
  261.  
  262.   Finally, Chris Lewis' "Unix Email Software - a Survey" lists many
  263.   more mail programs. FTP it from
  264.   rtfm.mit.edu:/pub/usenet/news.answers/mail/setup/unix/.
  265.  
  266. ------------------------------
  267.  
  268. Subject:    -8- How can I convert ASCII to PostScript?
  269. Date: 19 Jun 94 00:00:01 EST
  270.  
  271.   - IRIX comes with 'lptops', which, because it's called indirectly
  272.     from 'lp', isn't as well known as it ought to be. Read the 'lptops'
  273.     and 'gpsinterface' manpages.
  274.  
  275.   - Adobe Transcript, which includes 'enscript' (something like
  276.     'lptops') and 'psroff' (nroff/troff-to-PostScript) is available at
  277.     extra cost from SGI.  Most people manage without it.
  278.  
  279.   - SGI's own Impressario does PostScript and a lot of other things. It
  280.     too costs extra, but is better liked than Transcript. See the
  281.     impressario FAQ.
  282.  
  283.   - Popular free converters include 'a2ps' (at
  284.     imag.fr:/archive/postscript/), 'lwf' (in volume 15 of
  285.     comp.sources.unix, e.g.
  286.     ftp.uu.net:/usenet/comp.sources.unix/volume15/lwf/) and 'psf' (in
  287.     volume 35 of comp.sources.misc, e.g.
  288.     ftp.uu.net:/usenet/comp.sources.misc/volume35/psf3/).  The
  289.     comp.lang.postscript FAQ (at
  290.     rtfm.mit.edu:/pub/usenet/comp.lang.postscript/) has a much longer
  291.     list of such programs, unfortunately no longer including reviews or
  292.     FTP sites.
  293.  
  294.   - One good way to print manpages is with the '-m' option to 'a2ps'.
  295.  
  296. ------------------------------
  297.  
  298. Subject:    -9- How can I preview PostScript?
  299. Date: 11 Feb 95 00:00:01 EST
  300.  
  301.   In one of two ways:
  302.  
  303.   Display Postscript (DPS) comes with IRIX 5.x. (Machines which came
  304.   with IRIX 4.0.1-4.0.4 didn't get DPS in later versions of IRIX 4.x,
  305.   but it is standard in 5.x.)  It includes the 'xpsview' viewer. The DPS
  306.   developer's option, which you need to write or build programs which
  307.   exploit DPS, costs extra.
  308.  
  309.   Ghostscript is free from Aladdin Software and the Free Software
  310.   Foundation; ghostview (a viewer which uses ghostscript) is likewise
  311.   free from the FSF. Original sources are in
  312.   ftp.cs.wisc.edu:/pub/ghost/, and Robert Keller of SGI
  313.   <rck@fangio.asd.sgi.com> has put a compiled, 'inst'-installable
  314.   package at ftp.sgi.com:/sgi/ghost/.
  315.  
  316.   Dale Atems <atems@physics.wayne.edu> points out:  Many people try
  317.   ghostscript and give it up because of the fonts.  There is something
  318.   about ghostscript that's not as widely known as it should be and
  319.   deserves emphasis: if you have SGI's Display Postscript, you can
  320.   forget about most of the ugly bitmap fonts that come with
  321.   ghostscript.  Edit your Fontmap file to point ghostscript to the DPS
  322.   outline fonts (in /usr/lib/DPS/outline/base) and it will use them
  323.   instead. This will improve both screen display and, if you're not
  324.   using a Postscript printer with those fonts already built in,
  325.   printing quality. [Editor's note: This seems to cause problems with
  326.   some files under IRIX 5.x. Any details?]
  327.  
  328. ------------------------------
  329.  
  330. Subject:   -10- How can I edit PostScript files?
  331. Date: 10 Jan 95 00:00:01 EST
  332.  
  333.   Ivan Bach <ib@sgi.com> collected some testimonials from a number of
  334.   SGIers:
  335.  
  336.   - Adobe Illustrator and Corel Draw can edit PS files of type AI (a
  337.     simplified version of PS that facilitates editing).
  338.  
  339.   - Transverter (from TechPool, 212-291-1922) can convert some general
  340.     PostScript files to AI PostScript. It also does other conversions,
  341.     e.g. to TIFF.
  342.  
  343.   - If you have DPS and the DPS developer's kit you can do this quite
  344.     well with xfig. Check out the version in
  345.     ftp.x.org:/contrib/R5contrib-fixes/xfig-patches/.
  346.  
  347.   - The InterViews tool `idraw' allows manipulation of EPS
  348.     (Encapsulated PostScript) files, and has a `mac-type' interface.
  349.  
  350.   - Island Draw 3.0 has an option to import Postscript, and it seems to
  351.     accept arbitrary Postscript.  I have fed it single page Postcript
  352.     files from Illustrator, Corel, Ventura, Designer, Eroff, and
  353.     hand-coded files, and it made Island Draw objects out of them.  The
  354.     file initially opens as one grouped object, but if you ungroup, you
  355.     get editable objects.  I was quite impressed.  I don't doubt there
  356.     are ways to fool the interpreter, but it works for output from
  357.     drawing and publishing packages, which is what I need it for.
  358.  
  359. ------------------------------
  360.  
  361. Subject:   -11- How can I format unformatted manpages?
  362. Date: 08 Feb 95 00:00:01 EST
  363.  
  364.   SGI provides manpages in formatted form, and does not therefore
  365.   provide us all with the formatting software. Most FTPable manpages,
  366.   however, come in nroff ("unformatted") form.
  367.  
  368.   To install an unformatted manpage, one needs to format it (more on
  369.   this in a moment), pack it with pack(1) and put it in the appropriate
  370.   place under one of the 'catman' directories (see man(1)).
  371.   Alternatively, one might simply put the unformatted manpage under one
  372.   of the 'man' directories (again, see man(1)) and let IRIX run the
  373.   formatting software on it as needed. Which method one uses is a matter
  374.   of taste. In any case, one needs formatting software, and that is what
  375.   the rest of this entry is about.
  376.  
  377.   Manpages are most often formatted with 'nroff', which is a part of
  378.   Documenter's Workbench (DWB), which SGI has had to license separately
  379.   from USL and we have to buy separately from SGI.  SGI's DWB is based
  380.   on version 2.1; the current version from USL is 3.3.
  381.  
  382.   You might be able to format manpages on a non-SGI machine which does
  383.   have DWB/nroff. You might need to specify the generic printer macros
  384.   with '-Tlp', e.g. 'nroff -man -Tlp foo.1 > foo'.
  385.  
  386.   Public domain alternatives to DWB include 'awf' and 'groff':
  387.  
  388.   Henry Spencer's awf ("Amazingly Workable Formatter") is written in
  389.   'awk', which we all have, and does a pretty good job, considering. It
  390.   can be FTPed from ftp.sgi.com:/sgi/IRIX5.0/man/, along with a version
  391.   of 'man' which looks for awf if nroff isn't available. It will come
  392.   with releases of IRIX after 5.3.
  393.  
  394.   'groff' is by the Free Software Foundation and can be had from any
  395.   GNU archive (e.g. prep.ai.mit.edu:/pub/gnu/).  Compilers beware: it
  396.   must be compiled with g++ (or another C++ compiler?). However, there
  397.   are compiled binaries in cb-iris.stanford.edu:/pub/gnu/.  David Hinds
  398.   <dhinds@allegro.stanford.edu>, the man who put them there, gives this
  399.   advice for installing groff so that it can format manpages on the fly
  400.   in IRIX 4.0.x:
  401.  
  402.   Create a script called 'eqn':
  403.  
  404.    > #!/bin/sh
  405.    > if [ ${1:-""} = /usr/pub/eqnchar ] ; then shift ; fi
  406.    > geqn $*
  407.  
  408.   and a script called 'neqn':
  409.  
  410.    > #!/bin/sh
  411.    > if [ ${1:-""} = /usr/pub/eqnchar ] ; then shift ; fi
  412.    > geqn -Tascii $*
  413.  
  414.   and do:
  415.  
  416.    > ln -s gnroff nroff
  417.  
  418.   and edit the end of the gnroff script to be:
  419.  
  420.    > rest=`echo ${1+"$@"} | sed -e 's+/usr/lib/tmac+/usr/local/lib/groff/tmac+'`
  421.    > exec groff -Wall -mtty-char $T $opts $rest
  422.  
  423.   To get PostScript output from 'man -t', you also need to create a
  424.   'psroff' script similar to 'nroff'.  Here are the context diffs:
  425.  
  426.   *** /usr/local/bin/nroff        Sat Feb 13 15:51:09 1993
  427.   --- /usr/local/bin/psroff       Sat Feb 13 17:45:46 1993
  428.   ***************
  429.   *** 1,8 ****
  430.     #!/bin/sh
  431.   ! # Emulate nroff with groff.
  432.  
  433.     prog="$0"
  434.   ! T=-Tascii
  435.     opts=
  436.  
  437.     for i
  438.   --- 1,8 ----
  439.     #!/bin/sh
  440.   ! # Emulate psroff with groff.
  441.  
  442.     prog="$0"
  443.   ! T=-Tps
  444.     opts=
  445.  
  446.     for i
  447.   ***************
  448.   *** 25,30 ****
  449.   --- 25,33 ----
  450.           -Tascii|-Tlatin1)
  451.                   T=$1
  452.                   ;;
  453.   +       -t)
  454.   +               # ignore -- default is send to stdout
  455.   +               ;;
  456.           -T*)
  457.                   # ignore other devices
  458.                   ;;
  459.   ***************
  460.   *** 49,53 ****
  461.     rest=`echo ${1+"$@"} | sed -e 's+/usr/lib/tmac+/usr/local/lib/groff/tmac+'`
  462.  
  463.     # This shell script is intended for use with man, so warnings are
  464.     # probably not wanted.  Also load nroff-style character definitions.
  465.   ! exec groff -Wall -mtty-char $T $opts $rest
  466.   --- 52,56 ----
  467.     rest=`echo ${1+"$@"} | sed -e 's+/usr/lib/tmac+/usr/local/lib/groff/tmac+'`
  468.  
  469.     # This shell script is intended for use with man, so warnings are
  470.   ! # probably not wanted.
  471.   ! exec groff -Wall $T $opts $rest
  472.  
  473.   The binaries on cb-iris.stanford.edu have these changes already made.
  474.  
  475.   Paul Walmsley <ccshag@sgi1.phlab.missouri.edu> offers the following
  476.   advice for IRIX 5.x, which assumes that you have already followed
  477.   David Hinds' instructions for IRIX 4.0.x:
  478.  
  479.   1. Remove the link from tbl to gtbl.
  480.  
  481.   2. Rename gtroff to gtroff-exe or some other suitable name.  Note
  482.      that if you name it something other than gtroff-exe, you must
  483.      change the gtroff script below.
  484.  
  485.   3. Install the gtroff and tbl scripts included below in place of the
  486.      above two programs, and chmod them appropriately.
  487.  
  488.   --- cut here for tbl ---
  489.   #!/bin/sh
  490.   # Shoehorn gtbl into IRIX 5.2 - Shag
  491.   # Removes the -TX from gtbl's command line - yes, I know this is a kludge
  492.  
  493.   rest=`echo ${1+"$@"} | sed -e 's+-TX++'`
  494.   exec gtbl $rest
  495.   --- cut here for gtroff --
  496.   #!/bin/sh
  497.   # Shoehorn gtroff into working with IRIX 5.2 - Shag
  498.   # Translates all references for /usr/lib/tmac to /usr/local/lib/groff/tmac,
  499.   # and disables warnings - from David Hinds' code
  500.  
  501.   rest=`echo ${1+"$@"} | sed -e 's+/usr/lib/tmac+/usr/local/lib/groff/tmac+'`
  502.   exec gtroff-exe -Wall -mtty-char $rest
  503.   --- you can stop cutting now ---
  504.  
  505.   It is also possible to avoid the need for these scripts by setting
  506.   some environment variables, which are only documented in the man(1)
  507.   manpage (q.v.) in IRIX 5.2 and later.
  508.  
  509.   Finally, under IRIX 5.3, you need to edit the 'eqn' and 'neqn' scripts
  510.   (above) a bit more. Add the following line
  511.  
  512.       if [ ${1:-""} = - ] ; then shift ; fi
  513.  
  514.   just before the last "geqn" line.
  515.  
  516. ------------------------------
  517.  
  518. Subject:   -12- IRIX's version of top(1) doesn't let me renice or kill
  519.                 processes interactively. What to do?
  520. Date: 02 Jan 95 00:00:01 EST
  521.  
  522.   Try William LeFebvre's <phil@eecs.nwu.edu> version, which has these
  523.   capabilities. FTP it from eecs.nwu.edu:/pub/top/. One port to IRIX is
  524.   at ftp.cs.ruu.nl:/pub/SGI/top-3.1.tar.gz. Another is at
  525.   babar.ucsf.edu:/pub/top/top-3.3beta3.irix.tar.Z.
  526.  
  527. ------------------------------
  528.  
  529. Subject:   -13- BUGS AND PROBLEMS
  530. Date: 10 Dec 93 00:00:01 EST
  531.  
  532.   This section discusses bugs and problems with various applications.
  533.  
  534. ------------------------------
  535.  
  536. Subject:   -14- Why isn't Iris Insight working properly?
  537. Date: 03 Dec 94 00:00:01 EST
  538.  
  539.   The format for Insight's ~/.insightrc file changed in Insight 2.0. An
  540.   ~/.insightrc left over from an older version might cause Insight to
  541.   emit error messages or not work in various ways.  Just delete the old
  542.   ~/.insightrc and restart Insight.
  543.  
  544.   Insight generates PostScript which says "language level" where it
  545.   should say "languagelevel", and thus may not print on your printer.
  546.   Pipe the PostScript to a file, change every "language level" in the
  547.   file to "languagelevel" and print that.
  548.  
  549.   Greg Ferguson <gferg@hoop.timonium.sgi.com> keeps a list of other
  550.   problems with Insight, which can be found at
  551.   viz.tamu.edu:/pub/sgi/lists/insight-problems.
  552.  
  553. ------------------------------
  554.  
  555. Subject:   -15- Why don't the arrow keys work in vi?
  556. Date: 04 May 94 00:00:01 EST
  557.  
  558.   Arrow keys send more than one character, and vi can misinterpret them
  559.   as multiple single-character commands on slow connections. Increase
  560.   vi's patience by putting the command 'set timeout=400' (or a larger
  561.   or smaller number to your taste) in the file ~/.exrc or the EXINIT
  562.   environment variable.  See also the ex(1) and vi(1) manpages.
  563.  
  564.   Or use h, j, k and l. Or jot or Emacs.
  565.  
  566.   Incidentally, an article in the March/April 1994 Pipeline discusses a
  567.   variety of 'vi' tips and tricks.
  568.  
  569. ------------------------------
  570.  
  571. Subject:   -16- How can I tell application X about my screen size?
  572. Date: 10 Dec 93 00:00:01 EST
  573.  
  574.   IRIX does not have 'stty rows n' or 'stty columns n'. Use
  575.   'setenv LINES n' and 'setenv COLUMNS n' respectively.
  576.  
  577. ------------------------------
  578.  
  579. Subject:   -17- Why does ksh lock up if one's home directory is NFS-
  580.                 mounted?
  581. Date: 21 Jan 94 00:00:01 EST
  582.  
  583.   Sez Dave Olson <olson@sgi.com>: Since all ksh sessions for the same
  584.   user write to the same file, ksh uses locking on the history file.
  585.   Locking over NFS is problematic at best.  There is an environment
  586.   variable (HISTFILE) that can be set to specify where the history file
  587.   lives; I would suggest putting it somewhere on the local disk.
  588.  
  589. ------------------------------
  590.  
  591. Subject:   -18- Why can't I 'talk' to Suns?
  592. Date: 16 Mar 94 00:00:01 EST
  593.  
  594.   SGI, and most Unix vendors, use the 4.3BSD talk protocol, while Sun
  595.   still uses the 4.2BSD talk protocol. The fault is Sun's, not SGI's.
  596.   Look in thor.ece.uc.edu:/pub/sun-faq/ for Sun-compatible versions of
  597.   'new talk' (ntalk.tar.Z) and 'ytalk', which speaks both old and new
  598.   'talk' (ytalk-3.0.1.tar.gz).
  599.  
  600.   You could also run 'ytalk' on your SGI. Get it from
  601.   ftp.uu.net:/usenet/comp.sources.unix/volume27/ytalk-3.0/.
  602.  
  603. ------------------------------
  604.  
  605. Subject:   -19- How can I change what the keys on my keyboard do?
  606. Date: 04 May 94 00:00:01 EST
  607.  
  608.   Use 'xmodmap'. The manpage describes how to swap control and caps-
  609.   lock, which is the most common use. 'xwsh' and 'tcsh' also have key-
  610.   binding facilities, described in their manpages; consider these if
  611.   you want to change key meanings only in 'xwsh' windows or only in
  612.   'tcsh'.
  613.  
  614. ------------------------------
  615.  
  616. Subject:   -20- Why is 'jot' so slow on a remote display in IRIX 5.2?
  617. Date: 08 Jul 94 00:00:01 EST
  618.  
  619.   It's a bug. A fixed version is in ftp.sgi.com:/graphics/jot/.
  620.  
  621. ------------------------------
  622.  
  623. Subject:   -21- Why does 'man -k' repeat itself in IRIX 5.2?
  624. Date: 10 Dec 94 00:00:01 EST
  625.  
  626.   'man -k' looks for two whatis databases, the default
  627.   (/usr/share/catman/whatis) and one in a directory specified by the
  628.   environment variable LANG. If LANG is set but empty, the paths come
  629.   out the same and you see the same database twice. Fix the problem by
  630.   doing 'unsetenv LANG' or 'setenv'ing it to something sensible.
  631.  
  632.   This can also happen if the old Irix 4.0.x database is left behind
  633.   after upgrading to Irix 5.2. Fix the problem by removing
  634.   /usr/catman/whatis.
  635.  
  636. ------------------------------
  637.  
  638. Subject:   -22- COMPILERS AND PROGRAMMING
  639. Date: 10 Dec 93 00:00:01 EST
  640.  
  641.   This section discusses general compilers and programming issues.  See
  642.   the audio, graphics and movie FAQs for audio, graphics and movie
  643.   programming issues, and the impressario, inventor and performer FAQs
  644.   for discussions of those packages.
  645.  
  646. ------------------------------
  647.  
  648. Subject:   -23- What are the correct versions of the Irix Development
  649.                 Option (IDO) and Fortran for current versions of IRIX?
  650. Date: 12 Jun 94 00:00:01 EST
  651.  
  652.   If you're using IRIX 4.0.x, you should be using IDO 4.1.1.  It
  653.   includes C 3.10.1 and the 3.12 back-end (the part of the compiler
  654.   which actually produces the executable; 3.12 is the number you see
  655.   when you use the 'file' command on an executable). The previous
  656.   version was badly buggy; upgrade ASAP.
  657.  
  658.   IRIX 5.2 needs IDO 5.2, which includes C 3.18. Executables produced by
  659.   the IRIX 5.x back-end don't show a version number with 'file'.
  660.  
  661.   Each version of IDO has a corresponding version of Fortran, and they
  662.   MUST be used together. IDO 4.1.1 needs Fortran 3.5.1 and IDO 5.2 needs
  663.   Fortran 4.0.1. This is true for other languages as well, but only
  664.   Fortran has confused enough people to have its version numbers here.
  665.  
  666. ------------------------------
  667.  
  668. Subject:   -24- Why doesn't my non-ANSI C program compile under IRIX
  669.                 4.0.x?
  670. Date: 14 May 94 00:00:01 EST
  671.  
  672.   SGI's C compiler is ANSI C by default in IRIX 4.0.x. Use the '-cckr'
  673.   option to compile K&R C. You can do this most easily by setting the
  674.   environment variable SGI_CC to "-cckr" or by editing the
  675.   application's Makefile, often by adding "-cckr" to the CFLAGS
  676.   variable.
  677.  
  678.   A related problem is that Makefiles generated by 'imake' most often
  679.   use 'cc -cckr -prototypes'; missing or incorrect prototypes usually
  680.   just generate pages of warnings but may cause an unrecoverable
  681.   error.  You can often work around this by removing "-prototypes" from
  682.   the line where it appears in the Makefile (not the Imakefile).
  683.  
  684. ------------------------------
  685.  
  686. Subject:   -25- Where's CHILD_MAX in IRIX 4.0.5?
  687. Date: 21 Jan 94 00:00:01 EST
  688.  
  689.   /usr/include/limits.h has a bug in all versions of IRIX 4.0.5. The
  690.   definition of ARG_MAX on line 92 is missing a closing comment, so the
  691.   definition of CHILD_MAX on line 93 is ignored. Line 92
  692.  
  693.   #define    ARG_MAX        5120         /* max length of arguments to exec 
  694.  
  695.   should look like this:
  696.  
  697.   #define    ARG_MAX        5120         /* max length of arguments to exec */
  698.  
  699. ------------------------------
  700.  
  701. Subject: - -26- Where did the system header files go after I installed
  702.                 IDO 4.1.1?
  703. Date: 14 May 94 00:00:01 EST
  704.  
  705.   Some header files were in both the dev.hdr.lib subsystem (which is
  706.   part of IDO) and eoe1.sw.unix (which is part of basic IRIX) in IRIX
  707.   4.0.5, but are not in dev.hdr.lib in IDO 4.1 and 4.1.1. If one
  708.   removes an older IDO then installs IDO 4.1(.1), these headers will
  709.   disappear.  The solution is to reinstall eoe1.sw.unix. Affected
  710.   headers are all in /usr/include/sys, and include domain.h, fddi.h,
  711.   if_imf.h, if_ipg.h, if_mf.h, if_sl.h, llc.h, mbuf.h, protosw.h,
  712.   smt.h, socket.h, socketvar.h, tcp-param.h, uio.h, un.h, and unpcb.h.
  713.  
  714. ------------------------------
  715.  
  716. Subject:   -27- Why doesn't application X understand NIS (Yellow Pages)
  717.                 in IRIX 4.0.x?
  718. Date: 19 Dec 93 00:00:01 EST
  719.  
  720.   If you run NIS (aka Yellow Pages), you need to link programs which
  721.   access files served by NIS with -lsun. The functions in libc.a which
  722.   deal with these files are not NIS-aware; the NIS versions are in
  723.   libsun.a. Using libsun.a usually means adding '-lsun' to the variable
  724.   LIBS or LDFLAGS in one's Makefile. If '-lc' or '-lc_s' (libc_s.a is
  725.   the shared version of libc.a) is given explicitly, '-lsun' must
  726.   precede it.
  727.  
  728.   This is only true for IRIX 4.0.x; IRIX 5.x's libc.a is NIS-aware.
  729.  
  730. ------------------------------
  731.  
  732. Subject:   -28- Where's edge in IRIX 5.x? What can I use instead?
  733. Date: 13 Nov 94 00:00:01 EST
  734.  
  735.   SGI does not include edge with IRIX 5.x. When asked for substitutes,
  736.   SGI will direct you to their CASEVision debugger, which costs extra.
  737.  
  738.   An oft-mentioned free graphical debugger is 'xdbx'; you can find the
  739.   original source in ftp.x.org:/R5contrib/, a patch to make it work on
  740.   IRIX 4.0.x in viz.tamu.edu:/pub/sgi/software/xdbx/xdbx.sgi.patch and
  741.   patched versions for IRIX 4.0.x and 5.x in
  742.   swedishchef.lerc.nasa.gov:/programs/X/. An 'inst'-installable binary
  743.   for IRIX 5.x only is in ftp.sgi.com:~ftp/sgi/xdbx/.
  744.  
  745.   If you have 'gdb', you can try 'tgdb' and 'tgdb_wish', which may be
  746.   FTPed from sunsite.unc.edu:/pub/Linux/devel/debuggers/ and
  747.   ftp.aud.alcatel.com:/tcl/code/ respectively.
  748.  
  749. ------------------------------
  750.  
  751. Subject:   -29- How can I generate IRIX 4.0.x-compatible executables
  752.                 under IRIX 5.x?
  753. Date: 10 Dec 93 00:00:01 EST
  754.  
  755.   Strictly speaking, you can't. Many things changed in IRIX 5.x. You
  756.   can, however generate executables in COFF (IRIX 4.0.x) format instead
  757.   of ELF (IRIX 5.x) format, and these will often work on IRIX 4.0.x if
  758.   they don't use complex things like multiprocessing. The manual and
  759.   release notes describe how, and here's a summary:
  760.  
  761.   1) Make sure you've installed all of the appropriate irix4
  762.      compatibility subsystems. These include irix4_eoe, irix4_dev,
  763.      irix4_c and others for Motif, Inventor, etc.
  764.  
  765.   2) setenv SGI_IRIX4 1
  766.  
  767.   3) If your source uses explicit paths to headers, libraries, etc.,
  768.      change them to point to the irix4 versions.
  769.  
  770.   4) Use cc or make or whatever as you normally would.
  771.  
  772. ------------------------------
  773.  
  774. Subject:   -30- How can I convert IRIX 4.0.x executables to IRIX 5.x?
  775. Date: 04 Nov 94 00:00:01 EST
  776.  
  777.   Sez Jay McCauley <mccauley@sgi.com>:  IRIX does not and cannot have a
  778.   coff2elf (actually, it's 'cof2elf') converter.  The COFF (actually,
  779.   ECOFF) to ELF transition was also the transition to the use of
  780.   Expanded Fundamental Types (EFT), an SVR4-ism.  EFT enlarges a number
  781.   of basic data types, finally casting off the last vestiges of the
  782.   PDP-11.  So, structures built in an EFT world would have their
  783.   members at different offsets than they would in a pre-EFT (e.g. IRIX
  784.   4.x) world. The operating system uses the fact that an executable is
  785.   in ELF to trigger the use of EFT-based strucures for input and
  786.   output.  So, even if you had a program like coff2elf, the resulting
  787.   transformed executable would not operate correctly for almost any
  788.   interesting case.  Trivial programs that don't have any system calls
  789.   which pass in structures or get structures back from the OS could
  790.   theoretically work, but these fall into the "uninteresting" class.
  791.  
  792.   Note that the cof2elf(1) program referred to by the elf(1) manpage in
  793.   IRIX 5.2 does not exist. The elf(1) manpage is wrong.
  794.  
  795. ------------------------------
  796.  
  797. Subject:   -31- Why are some non-shared libraries missing in IRIX 5.x?
  798. Date: 02 Jan 95 00:00:01 EST
  799.  
  800.   - Some of the non-shared libraries which do come with IRIX 5.x are
  801.     installed by default and some are not.  The shared library you want
  802.     may be in one of the "speclibs" subsystems,
  803.     e.g. dev.sw.irix_speclibs, which contains /usr/lib/nonshared/crt1.o,
  804.     a very popular item among those compiling nonshared.
  805.  
  806.   - IRIX 5.x does not have non-shared versions of some libraries,
  807.     notably libX11.a. Nonshared libraries are provided if 1) they are
  808.     required by the MIPS ABI (Application Binary Interface), a
  809.     binary-compatibility standard, 2) they are needed to compile
  810.     benchmarks (these are the libraries in the "speclibs" subsystems) or
  811.     3) SGI hasn't gotten around to providing a shared library.
  812.  
  813.   So, why do you want that nonshared library?
  814.  
  815.   - If you just want to compile something whose link statement
  816.     explicitly specifies a particular nonshared library, substitute the
  817.     shared version (e.g. libX11.so.1 instead of libX11.a).
  818.  
  819.   - If you really need a nonshared application, and you can't find all
  820.     the nonshared libraries you need, you're out of luck.
  821.  
  822. ------------------------------
  823.  
  824. Subject:   -32- Where are the audio, CD and DAT libraries in IRIX 5.x?
  825. Date: 05 Mar 94 00:00:01 EST
  826.  
  827.   In IRIX 5.x, they (and the associated headers, sample code, etc.)
  828.   have moved to the extra-cost Digital Media Development option.
  829.   Sorry.
  830.  
  831. ------------------------------
  832.  
  833. Subject:   -33- Why can't my networking application resolve hostnames in
  834.                 IRIX 5.x?
  835. Date: 14 May 94 00:00:01 EST
  836.  
  837.   The resolv.conf file, which tells IRIX how to resolve hostnames, is
  838.   in /usr/etc in IRIX 4.0.x but /etc in IRIX 5.x. Applications compiled
  839.   under IRIX 4.0.x and moved to a 5.x system will not be able to find
  840.   it.  The easiest fix is to do 'ln -s /etc/resolv.conf /usr/etc', and
  841.   the best fix is to recompile. See 'man 4 resolv.conf'.
  842.  
  843. ------------------------------
  844.  
  845. Subject:   -34- Can I use dynamic shared objects in IRIX?
  846. Date: 07 May 93 00:00:01 EST
  847.  
  848.   IRIX 5.x supports SVR4-style dynamic shared objects. IRIX 4.0.x does
  849.   not, but Jack Jansen <jack@cwi.nl> has written a package to do it
  850.   anyway. Get the file ftp.cwi.nl:/pub/dl-1.3.tar.Z by anonymous FTP.
  851.  
  852. ------------------------------
  853.  
  854. Subject:   -35- How can I tell which shared objects my executable uses?
  855. Date: 25 Apr 94 00:00:01 EST
  856.  
  857.   Use 'odump -Lv' for COFF format executables (under IRIX 4.0.x, or 5.x
  858.   using the irix4 compatibility stuff) and 'elfdump -Dl' for ELF format
  859.   executables (IRIX 5.x only). Both are in the dev.cmplrs_sw.util
  860.   subsystem.
  861.  
  862. ------------------------------
  863.  
  864. Subject:   -36- Why does malloc() never return NULL?
  865. Date: 05 Jul 94 00:00:01 EST
  866.  
  867.   Virtual memory is effectively infinitely large in IRIX 4.0.x, and it
  868.   can be configured to be so in IRIX 5.x. malloc() never returns NULL
  869.   because requests are always granted. The admin FAQ gives further
  870.   background, and tells how to configure your system to limit virtual
  871.   memory to physical memory and physical swap space.
  872.  
  873. ------------------------------
  874.  
  875. Subject:   -37- What prototypes are missing in IRIX 4.0.x and 5.x?
  876. Date: 03 Apr 94 00:00:01 EST
  877.  
  878.   Kevin Russo <russo@rudedog.nrl.navy.mil> has compiled lists, which
  879.   you can FTP from
  880.   viz.tamu.edu:/pub/sgi/software/prototypes/missing-protos.shar.
  881.  
  882. ------------------------------
  883.  
  884. Subject:   -38- Where are the regcmp and regex functions?
  885. Date: 13 Nov 94 00:00:01 EST
  886.  
  887.   In the libPW.a (IRIX 4.0.x) or libgen.a (IRIX 5.x) library. Add
  888.   '-lPW' or '-lgen' to your linking command.
  889.  
  890. ------------------------------
  891.  
  892. Subject:   -39- Why is 'make' complaining about syntax errors that I
  893.                 can't find?
  894. Date: 26 May 94 00:00:01 EST
  895.  
  896.   Two possibilities:
  897.  
  898.   - SGI's 'make' sends shell commands to your shell (specified in the
  899.     SHELL environment variable), while every other 'make' in the world
  900.     uses /bin/sh by default. Put the line "SHELL=/bin/sh" at the top of
  901.     a Makefile to make SGI's 'make' use /bin/sh.
  902.  
  903.   - Dependency lines in your Makefile may begin with spaces.  Some
  904.     'make's accept spaces; SGI's requires tabs.
  905.  
  906. ------------------------------
  907.  
  908. Subject: + -40- Why does stripping executables corrupt them in IRIX 6.x?
  909. Date: 26 Feb 95 00:00:01 EST
  910.  
  911. + IRIX 6 (but not 4 or 5) has a bug such that if one strips more than
  912. + one executable with a single 'strip' command, all but the first will
  913. + be corrupted. Work around the bug by stripping only one file at a
  914. + time.
  915.  
  916. ------------------------------
  917.  
  918. Subject:   -41- PORTING
  919. Date: 10 Dec 93 00:00:01 EST
  920.  
  921.   This section discusses problems with porting software from other
  922.   systems to SGIs. Be sure to look through the previous section and the
  923.   programming part of the graphics FAQ too.
  924.  
  925. ------------------------------
  926.  
  927. Subject:   -42- How can I make the 'install' program work like BSD
  928.                 'install'?
  929. Date: 22 Nov 94 00:00:01 EST
  930.  
  931.   The BSD and System V versions of the 'install' command are
  932.   incompatible; the BSD version is most often used by Makefiles. IRIX
  933.   provides both the System V version (/etc/install) and the BSD version
  934.   (/usr/bin/X11/bsdinst.sh in IRIX 4.0.x, and /usr/bin/X11/bsdinst in
  935.   IRIX 5.x). SGI's 'imake' defines INSTALL as /usr/bin/X11/bsdinst,
  936.   and the Install* rules use that definition, so Imakefile-generated
  937.   Makefiles will use the BSD version.
  938.  
  939.   Michael Joosten <joost@ori.cadlab.de> points out that you can also use
  940.   GNU install (available from any GNU archive, e.g.
  941.   prep.ai.mit.edu:/pub/gnu/), which emulates the BSD version.  Unlike
  942.   /usr/bin/X11/bsdinst, it has a manpage.  It also may be better
  943.   debugged; SGI's version reportedly mishandles '-o' and installs
  944.   multiple files into a single directory.
  945.  
  946. ------------------------------
  947.  
  948. Subject:   -43- Where's 'ranlib'?
  949. Date: 16 Sep 93 00:00:01 EST
  950.  
  951.   IRIX doesn't need it. Read the description of the 's' option in the
  952.   'ar' manpage. When the Makefile for a program you're porting wants
  953.   ranlib, delete the ranlib command, substitute 'true' or put a little
  954.   shell script in your PATH to fake it.
  955.  
  956. ------------------------------
  957.  
  958. Subject:   -44- Why does GNU Emacs not compile, or compile but not run?
  959. Date: 08 Oct 94 00:00:01 EST
  960.  
  961.   You probably have an old version.
  962.  
  963.   Emacs 18.59 is the last release of Emacs version 18. It builds and
  964.   runs correctly under IRIX 4.0.x. Some earlier versions failed to
  965.   compile (because cc now needs -cckr for K&R C compatibility) or
  966.   failed to run when stripped (because of object file format changes).
  967.   For the latter reason, the file unexmips.c in some versions of Epoch
  968.   and Lucid Emacs should be replaced with the same-named file from the
  969.   GNU Emacs 18.59 distribution.
  970.  
  971.   Karsten Kuenne <kuenne@desy.de> has patched Emacs 18.59 to work with
  972.   IRIX 5.0's new object file format. The patches are at
  973.   ftp.desy.de:/pub/gnu/emacs/emacs-irix5.0-patches.
  974.  
  975.   Emacs 19.28 is the most recent release of Emacs version 19 at this
  976.   writing; it builds and runs correctly under IRIX 4.0.x and 5.x with
  977.   recent compilers (IDO 4.1.1 or newer). Be sure to read about Iris
  978.   quirks in etc/MACHINES.
  979.  
  980.   See also "Where can I get software already compiled for SGIs?"
  981.   above.
  982.  
  983. ------------------------------
  984.  
  985. Subject:   -45- What do I need to do to build gcc/g++?
  986. Date: 04 Nov 94 00:00:01 EST
  987.  
  988.   Recent versions of gcc build reliably on IRIX 4.0.x and 5.x without
  989.   much difficulty. Just read the INSTALL document and follow the
  990.   directions.  A few hints:
  991.  
  992.   - Don't. Several people have already, and they'll let you have a
  993.     copy.  Even if you must do it yourself, you can bootstrap from
  994.     someone else's binary. Furthermore, their distribution may include
  995.     notes on how they did it, if they didn't think it was obvious.  See
  996.     "Where can I get software already compiled for SGIs?" above.
  997.  
  998.   - You need the headers and runtime libraries from SGI's extra-cost
  999.     development option (IDO) to compile gcc. Of course if you buy IDO
  1000.     you'll get SGI's compiler anyway; this is comp.sys.sgi.*'s most
  1001.     popular Catch-22.
  1002.  
  1003.   - Don't forget to install the dev.cmplrs_hdr.internal subsystem,
  1004.     which contains needed headers and is not installed by default.
  1005.  
  1006.   - READ THE RELEASE NOTES! gcc (and gas, etc.) are updated too
  1007.     frequently for this FAQ to document every quirk of every release.
  1008.     The release notes often describe quirks that have not yet been
  1009.     fixed.
  1010.  
  1011. ------------------------------
  1012.  
  1013. Subject:   -46- Is there an SGI-compatible version of XView?
  1014. Date: 01 Jul 94 00:00:01 EST
  1015.  
  1016.   For IRIX 4.0.x, look in
  1017.   swedishchef.lerc.nasa.gov:/libraries/XView3/.  For IRIX 5.x, look in
  1018.   wuarchive.wustl.edu:/graphics/graphics/sgi-stuff/XView/xview3/irix5/.
  1019.   A copy of the patches used to create the IRIX 5.x version is in
  1020.   viz.tamu.edu:/pub/sgi/software/xview/.
  1021.  
  1022. ------------------------------
  1023.  
  1024. Subject:   -47- How can I compile tcsh 6.05 on IRIX 5.2?
  1025. Date: 15 Nov 94 00:00:01 EST
  1026.  
  1027.   IRIX 5.2 includes tcsh 6.04. If you want 6.05 (which has a lot of bug
  1028.   fixes and a nice new manpage) you need to compile it yourself.  Get
  1029.   the source from tesla.ee.cornell.edu:/pub/tcsh/ and a patch to let it
  1030.   compile under IRIX 5.2 from viz.tamu.edu:/pub/sgi/software/tcsh/.
  1031.  
  1032. ------------------------------
  1033.  
  1034. End of sgi/faq/apps Digest
  1035. ******************************
  1036. -- 
  1037. The SGI FAQ group                                sgi-faq@viz.tamu.edu
  1038. Finger us for info on the SGI FAQs, or look in viz.tamu.edu:/pub/sgi.
  1039.